package org.zy.bean;

import java.util.Date;
import java.util.List;

public class tuser {
	private Integer id;
	private List<trole> roles;
	
	private List<tresource> resources;
	private Date createtime;

	private Date modifytime;

	private String name;

	private String pwd;

	public Integer getId() {
		return id;
	}
	public List<trole> getRoles() {
		return roles;
	}

	public tuser() {
		super();
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public void setRoles(List<trole> roles) {
		this.roles = roles;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd == null ? null : pwd.trim();
	}
	public List<tresource> getResource() {
		return resources;
	}
	public void setResource(List<tresource> resources) {
		this.resources = resources;
	}
}